package com.learncloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author yj
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value="SysMenu对象", description="系统菜单表")
public class SysMenu implements Serializable {

    private static final long serialVersionUID=1L;

    public SysMenu(){

    }

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父id")
    private Integer parentId;

    @ApiModelProperty(value = "0: 页面菜单    1: 按钮菜单")
    private String type;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "标识")
    private String sign;

    @ApiModelProperty(value = "组件路径")
    private String component;

    @ApiModelProperty(value = "访问路径")
    private String path;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "0:是外链接   2:否")
    private String isFrame;

    @ApiModelProperty(value = "0:显示     1:隐藏")
    private String visible;

    @ApiModelProperty(value = "0: 启用    1:禁用")
    private String status;


}
